package com.example.mardan_demo1.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
*@Author:买尔旦江
×@CreateTime: 2024-11-19
*@Description: 静态文件返回
*@Version: 1.0
*/

@Controller
public class HomeController {
    @GetMapping("/")
    public String home() {
        return "forward:/index.html";
    }

    @GetMapping("/h")
    public String h() {
        return "hh";
    }

}
